/**
 * 
 */
package org.waddy.framework.app.web.filter;

import java.io.IOException;

import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter;

/**
 * @Title 系统过滤器
 * @version 1.0
 * @author zhangdapeng
 * @Created 2013-6-11
 * Copyright (c) 2013 PanGene InfoAnalytics.
 *
 * @Description 根据struts-*.xml配置文件加载相应action
 */
public class SystemFilter extends StrutsPrepareAndExecuteFilter {

	@Override
	public void init(FilterConfig config) throws ServletException {
		String xmls = config.getInitParameter("config");
		System.out.println("[Filter] System now loading config xmls: " + xmls);
		super.init(config);
	}
	
}
